package com.jindy.module.associatedProductView.mapper;

import java.util.List;
import com.jindy.module.associatedProductView.domain.AssociatedProductView;

/**
 * VIEWMapper接口
 * 
 * @author jindy
 * @date 2023-06-06
 */
public interface AssociatedProductViewMapper 
{
    /**
     * 查询VIEW
     * 
     * @param id VIEW主键
     * @return VIEW
     */
    public AssociatedProductView selectAssociatedProductViewById(Long id);

    /**
     * 查询VIEW列表
     * 
     * @param associatedProductView VIEW
     * @return VIEW集合
     */
    public List<AssociatedProductView> selectAssociatedProductViewList(AssociatedProductView associatedProductView);

    /**
     * 新增VIEW
     * 
     * @param associatedProductView VIEW
     * @return 结果
     */
    public int insertAssociatedProductView(AssociatedProductView associatedProductView);

    /**
     * 修改VIEW
     * 
     * @param associatedProductView VIEW
     * @return 结果
     */
    public int updateAssociatedProductView(AssociatedProductView associatedProductView);

    /**
     * 删除VIEW
     * 
     * @param id VIEW主键
     * @return 结果
     */
    public int deleteAssociatedProductViewById(Long id);

    /**
     * 批量删除VIEW
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAssociatedProductViewByIds(Long[] ids);
}
